To identify all global catalog servers in the forest, perform the following steps:
dsquery server -forest -isgc
Note
The distinguished name of each global catalog server in the forest is returned, as shown in Figure 1.
To identify all global catalog servers in a domain, perform the following steps:
dsquery server -domain domainname –isgc
The distinguished name of each global catalog server in the forest is returned, as shown in Figure 2.